body {
    box-sizing: border-box;
    background-color: black;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
    overflow-x: hidden;
    /* 隐藏水平滚动条 */
}

.mainphoto {
    width: 100vw;
}

.attributionBody {
    background-color: black;
    color: aliceblue;
}

.text {
    padding: 50px 70px 50px 70px;
}

.gratitudeTitle,
.contributionTitle {
    font-weight: bold;
    font-size: 30px;
    margin-bottom: 20px;
}

.gratitude,
.teamMembersContrbutions,
.externalContributions,
.timeline {
    margin-top: 100px;
    margin-bottom: 20px;
}

.card {
    position: relative;
    background: rgba(255, 255, 255, 0.2);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    border-radius: 25px;
    box-shadow: inset 0 0 6px rgba(255, 255, 255, 0.2);
    padding: 10px 30px 20px 30px;
    width: 47%;
    box-sizing: border-box;
    /* 确保padding和border不会增加宽度 */
    border: 2px solid transparent;
    /* 初始时边框不可见 */
    transition: border-color 0.5s ease-in-out;
    /* 渐变效果，持续时间为0.5秒 */
    transition: color 0.3s ease-in-out;
}

.card img {
    position: absolute;
    /* 使用绝对定位 */
    top: 15px;
    /* 距离顶部10px */
    right: 40px;
    /* 距离右侧10px */
    width: 75px;
    /* 设置图片宽度 */
    height: 75px;
    /* 设置图片高度 */
    border-radius: 50%;
    /* 将图片裁切成圆形 */
    border: 3px solid rgba(255, 255, 255, 0.2);
    /* 设置白色边框 */
    object-fit: cover;
    /* 确保图片不失真 */
    transition: border 0.3s ease-in-out;
}

.card:hover {
    border-color: rgb(0, 0, 255);
    color: rgb(164, 173, 255);
    /* 鼠标悬停时的边框颜色 */

}

.card:hover img {
    border-color: rgb(164, 173, 255);
    /* 悬停时图片边框颜色变蓝 */
}


.cards {
    display: flex;
    flex-wrap: wrap;
    /* 居中显示 */
    gap: 40px;
    /* 卡片之间的间距 */
}

.name {
    font-size: 25px;
    font-weight: bold;

    margin: 20px 0 0 0;
}

.position {
    letter-spacing: 2px;
    text-transform: uppercase;
    margin: 5px 0 25px 0;
}

.subtitle {
    font-weight: bold;
    margin: 5px 0 5px 0;
}

.details {
    margin: 10px 0 25px 0;
}

.timelinetext {
    margin-bottom: 20px;
}

/* .arrowUp,
.arrowDown {
    width: 50px;
    height: 40px;
    position: fixed;
    bottom: 40px;
    right: 40px;
    display: none;
    /* 初始隐藏箭头 */
/* cursor: pointer;
    z-index: 1000; */




/* .outside {
    display: flex;
} */

/* .content {

    position: sticky;
    top: 130px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 40px 5px 40px 5px;
    gap: 30px;
    margin-top: 100px;
    margin-left: 15px;
    /* border: 1px solid #ffffff;
    border-radius: 20px; */
/* color: #ffffff;
    width: 30vw;
    position: sticky;
    height: 60vh;
    font-size: 20px; */
/* font-weight: bold; */



/* .text {
    margin-left: 5vw;
} */

/* .content a {
    text-decoration: none;
    color: #ffffff;
}

.content a:hover {
    text-decoration: none;
    color: #2b46ff;
}

.space {
    height: 100px;
    width: 100px;
    background-color: aliceblue;
} */

/* 当屏幕宽度小于1600px时，即只能显示一个卡片 */
@media (max-width: 1080px) {
    .card {
        width: 80vw;
        margin: 20px auto;
        /* 自动边距使卡片居中 */
    }

    .cards {
        justify-content: center;
    }
}